<%template _header%>
<%namespace YouHP.Model%>
<!--header end-->
<!--主体-->
<div class="layout-cols2">
    <%template _memmenu%>
    <div class="pannelcontent">
        <div class="pcontent">
            <div class="panneldetail">
                <%template _membasemenu%>
                <div class="pannelbody">
                    <%if IsPost%>
                    <%template _msgbox%>
                    <%else%>
                    <div class="userInfoEdit">
                        <form action="" method="post" id="Form1">
                        <p>
                            基本信息
                        </p>
                        <table width="830px" class="table-box" border="0px;" cellpadding="0px;" cellspacing="0px;">
                            <tr>
                                <td width="30%">
                                    <label for="username">
                                        用户名(*):</label>
                                </td>
                                <td>
                                    <input name="username" type="text" id="username" value="{_User.UserName}" class="colorblue"
                                        onfocus="this.className='colorfocus';" onblur="this.className='colorblue';" size="15"
                                        readonly="true" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <label for="Sex">
                                        性别(*):</label>
                                </td>
                                <td>
                                    <input type="radio" name="Sex" value="男"  class="radioinput" <%if {_User.Gender}=="男" %>
                                        checked="checked" <%/if%> id="Radio1" />
                                    男
                                    <input type="radio" name="Sex" value="女" class="radioinput" <%if {_User.Gender}=="女"%>
                                        checked="checked" <%/if%> id="Radio2" />
                                    女
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <label for="bday">
                                        生日(*):</label>
                                </td>
                                <td>
                                    <input class="box-var validate-date" id="textboxDate" maxlength="10" size="10" name="textboxDate" style="vertical-align:middle;"
                                        value="{UserBirthday}" />
                                    <a class="no-hover" id="buttonDate" title="Click on this to open the calendar, Use the arrow keys to move through dates" style="vertical-align:middle"
                                        href="#">
                                        <img class="icon-cal" alt="日期" src="/support/alpha/images/calendar/calendar-icon_calendar.png" />
                                    </a>
                                    <script type="text/javascript">
                                         Calendar.setup({inputField: 'textboxDate', ifFormat: '%Y-%m-%d', button: 'buttonDate'}) 
                                    </script>
                                    <em class="helptext">格式：年-月-日(1970-03-08)</em>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <label for="location">
                                        省份/城市(*):</label>
                                </td>
                                <td style=" text-align:left">
                                    <div>
                                        <%template _district%>                                        
                                    </div>
                                    <br />
                                    <br />
                                    <span>(填上此项有利于寻找和你一个地方的病友)</span>
                                </td>
                            </tr>
                            <tr>
                        </table>
                        <p>
                            联系方式
                        </p>
                        <table width="830px" class="table-box" border="0px;" cellpadding="0px;" cellspacing="0px;">
                            <tr>
                                <td width="30%">
                                    <label for="email" >
                                        Email:</label>
                                </td>
                                <td >
                                    <input type="text" id="email" value="{_User.Email}" size="30" readonly="true" class="colorblue"
                                        onfocus="this.className='colorfocus';" onblur="this.className='colorblue';" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <label for="msn">
                                        MSN:</label>
                                </td>
                                <td >
                                    <input type="text" name="msn" id="msn" value="{_User.MSN}" size="30" class="colorblue"
                                        onfocus="this.className='colorfocus';" onblur="this.className='colorblue';" />
                                    <span id="spanMSN"></span>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <label for="qq">
                                        QQ:</label>
                                </td>
                                <td >
                                    <input type="text" name="qq" id="qq" value="{_User.QQ}" size="30" class="colorblue"
                                        onfocus="this.className='colorfocus';" onblur="this.className='colorblue';" />
                                    <span id="spanQQ"></span>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <label for="mobile">
                                        移动电话号码:</label>
                                </td>
                                <td >
                                    <input name="mobile" type="text" id="mobile" value="{_User.MobilePhone}" class="colorblue"
                                        onfocus="this.className='colorfocus';" onblur="this.className='colorblue';" size="30" />&nbsp;<span>(填上此项有助于我们联系您，我们将为您保密)</span>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <label for="phone">
                                        固定电话号码:</label>
                                </td>
                                <td >
                                    <input name="phone" type="text" id="phone" value="{_User.Telephone}" class="colorblue"
                                        onfocus="this.className='colorfocus';" onblur="this.className='colorblue';" size="30" />&nbsp;<span>(填上此项有助于我们联系您，我们将为您保密)</span>
                                </td>
                            </tr> 
                            <tr>
                                <td>
                                    <label for="zip">
                                        邮政编码:</label>
                                </td>
                                <td>
                                    <input name="zip" type="text" id="location" class="colorblue" onfocus="this.className='colorfocus';"
                                        onblur="this.className='colorblue';" value="{_User.ZipCode}" size="30" />&nbsp;<span>(填上此项有助于我们联系您，我们将为您保密)</span>
                                </td>
                            </tr>
                            
                                <td>
                                    <label for="location">
                                        详细地址:</label>
                                </td>
                                <td>
                                    <textarea name="address" cols="15" rows="2" type="text" id="address" class="colorblue" onfocus="this.className='colorfocus';"
                                        onblur="this.className='colorblue';" value="{_User.Address}" style="width: 80%;"></textarea><br /><span>(填上此项有助于我们联系您，我们将为您保密)</span>
                                </td>
                            </tr>                                                                                   
                        </table>
                        <p>
                            其他信息
                        </p>
                        <table width="830px" class="table-box" border="0px;" cellpadding="0px;" cellspacing="0px;">
                            <tr>
                                <td width="30%">
                                    <label for="interest">
                                        兴趣爱好:</label>
                                </td>
                                <td style="padding-bottom: 2px;">
                                    <textarea name="interest" cols="15" rows="3" id="interest" class="colorblue" onfocus="this.className='colorfocus';"
                                        onblur="this.className='colorblue';" style="width: 80%;">{_User.Interests}</textarea>&nbsp;<span>(小于50个字符)</span>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <label for="description">
                                        个人简介:</label>
                                </td>
                                <td>
                                    <textarea name="description" cols="15" rows="3" id="description" class="colorblue"
                                        onfocus="this.className='colorfocus';" onblur="this.className='colorblue';" style="width: 80%;">{_User.Description}</textarea>&nbsp;<span>(小于500个字符)</span>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2" align="right">
                                    <input type="submit" name="Submit" value="保存修改" class="buttonstyle" id="Submit2" />
                                </td>
                            </tr>
                        </table>
                        </form>
                    </div>
                    <%/if%>
                </div>
            </div>
        </div>
    </div>
</div>
<!--主体-->
<%template _footer%>
